package com.sp.scmdb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Type;
import org.joda.time.DateTime;
import com.sp.scmdb.common.DomainObject;

@Entity
@Table(name = "OBJ_ENTRYRECORD")
public class EntryRecord extends DomainObject {

	@Column(name="labelID")
	private int labelID;
	
	@Column(name="lrmID")
	private int lrmID;
	
	@Column(name="inTime")
	@Type(type = "org.joda.time.contrib.hibernate.PersistentDateTime")
	private DateTime inTime;
	
	@Column(name="outTime")
	@Type(type = "org.joda.time.contrib.hibernate.PersistentDateTime")
	private DateTime outTime;
	
	@Column(name="rmk")
	private String rmk;
	
	@Column(name="empID")
	
	private int empID;

	public int getEmpID() {
		return empID;
	}

	public void setEmpID(int empID) {
		this.empID = empID;
	}

	public DateTime getInTime() {
		return inTime;
	}

	public int getLabelID() {
		return labelID;
	}

	public void setLabelID(int labelID) {
		this.labelID = labelID;
	}

	public int getLrmID() {
		return lrmID;
	}

	public void setLrmID(int lrmID) {
		this.lrmID = lrmID;
	}

	public void setInTime(DateTime inTime) {
		this.inTime = inTime;
	}

	public DateTime getOutTime() {
		return outTime;
	}

	public void setOutTime(DateTime outTime) {
		this.outTime = outTime;
	}

	public String getRmk() {
		return rmk;
	}

	public void setRmk(String rmk) {
		this.rmk = rmk;
	}

}
